#ifndef _BUOLA_SCENE_TECHNIQUES_CMESHTITECHNIQUE_H_
#define _BUOLA_SCENE_TECHNIQUES_CMESHTITECHNIQUE_H_

#include <buola/scene/ctechnique.h>

#include <buola/gl/cprogram.h>

namespace buola { namespace scene {

class CMeshTITechnique : public CTechnique
{
private:
    CMeshTITechnique();
    virtual ~CMeshTITechnique();

public:
    virtual void Prepare(CRenderContext &pContext);

    static CMeshTITechnique *Get();
    
private:
    gl::CProgram mProgram;
    gl::CUniform uMVPMatrix;
    gl::CUniform uMVMatrix;
    gl::CUniform uTransformIndex;
};

/*namespace scene*/ } /*namespace buola*/ }

#endif
